package org.zkoss.zktc.unittest;

import org.junit.Test;
import org.zkoss.zktc.core.groovy.Engine;
import org.zkoss.zktc.core.groovy.ExecutionException;
import org.zkoss.zktc.core.groovy.SnippetRunner;

public class SelectorGroovyTestCase extends GroovyTestCaseBase{


	protected String getTestCaseUrl(){
		return getTestCaseUrl("/unit/selector.zul");
	}
	
	@Test
	public void testGroovy() throws ExecutionException{
		Engine engine = new Engine(binding);
		engine.execute(getGroovy());
		engine.execute("println '>>>last widget:'+widget;");
	}
	
}
